package com.gxa.pojo.zhy;

/**
 * Created with IntelliJ IDEA.
 * User: 赵贺益
 * Date: 2021/12/03 12:50
 * Description:
 * Version: V1.0
 */

import java.util.List;

/**
 * 返回权限信息的实体
 */
public class Pr <T>{
    String level1;
    String icon;
    List<T> list;//里面放的是一级菜单对应的二级菜单

    public String getLevel1() {
        return level1;
    }

    public void setLevel1(String level1) {
        this.level1 = level1;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }



    public Pr(String level1, String icon, List<T> list) {
        this.level1 = level1;
        this.icon = icon;
        this.list = list;
    }

    public Pr() {
    }

    @Override
    public String toString() {
        return "Pr{" +
                "level1='" + level1 + '\'' +
                ", icon='" + icon + '\'' +
                ", list=" + list +
                '}';
    }
}
